DeepSeek Protocol Doctor: Offline Debugging DeepSeek Requests, Tool Loops, and SSE Streams in DSH

DeepSeek Protocol Doctor is an MIT-licensed third-party DSH plugin maintained by Whning0513, designed to offline check DeepSeek requests, tool calls, and SSE/JSONL streams to resolve issues such as tool call failures or invalid JSON parameters caused by request-response concatenation errors. It does not invoke the model and provides only static checking; its core functions include `deepseek_protocol_check` (checking requests and message history) and `deepseek_stream_check` (checking recorded streams). The tool can detect missing `tool_call_id`, interleaved streaming delta, missing `reasoning_content`, and strict schema configuration issues.

Read More